package gwt.immunology.client.service;

import gwt.immunology.shared.GenericDto;
import gwt.immunology.shared.ResultSetDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("medicineCard")
public interface MedicineCardService extends RemoteService {

    GenericDto registerNewMedicineCard(GenericDto medicineCardDto);

    void deleteMedicineCardById(Long medicineCardId);

    GenericDto getMedicineCardById(Long medicineCardId);

    GenericDto editMedicineCard(GenericDto medicineCardDto);

    ResultSetDto getAllMedicineCards();

}
